/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2022-02-02 20:14:53
 * @LastEditors: GGB
 * @LastEditTime: 2022-02-05 11:49:40
 */
import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [
    { path: '/', component: () => import('@v/Home/Index.vue'), name: 'home' },
    { path: '/about', component: () => import('@v/About/Index.vue'), name: "about" },
    { path: '/buycart', component: () => import('@v/Buycart/Index.vue'), name: "buycart" },
    { path: '/product/:id', component: () => import('@v/Product/Index.vue'), name: "product" },
    { path: '/scene', component: () => import('@v/Scene/Index.vue'), name: "scene" }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})
export default router